package android.slc.appbase.api.slc.callback.po;

public interface ISlcEntity<T> {

    public T getData();

    public void setData(T data);

    public int getCode() ;

    public void setCode(int code);

    public int getStatus();

    public void setStatus(int code) ;

    public String getMsg() ;

    public void setMsg(String msg);

    default boolean isSuccess() {
        return getCode() == 200 || getCode() == 0;
    }


}
